Vector4 Constructor(Single[])
In This Topic
Initializes a new instance of the
Vector4 struct.
Syntax
'Declaration
Public Function New( _
ByVal () As System.Single _
)
public Vector4(
System.float[]
)
Parameters
- values
- The values to assign to the X, Y, Z, and W components of the vector. This must be an array with four elements.
Exceptions
Exception | Description |
System.ArgumentNullException | Thrown when is null . |
System.ArgumentOutOfRangeException | Thrown when contains more or less than four elements. |
See Also